class Main{
    hello():boolean{
        document.write("hello world~");
        return true;
    }
}
var main = new Main();
main.hello();